auto generation and accessing properties of Spinboxes